/**
 * @author 方恒
 * @version 1.0~
 */
public class Book {
    private Integer ID;
    private String name;
    private String author;
    private Double price;

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Integer getID() {
        return ID;
    }

    public void setID(Integer ID) {
        this.ID = ID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Book{" +
                "author='" + author + '\'' +
                ", ID=" + ID +
                ", name='" + name + '\'' +
                ", price=" + price +
                '}';
    }
}
